<%--
  Created by IntelliJ IDEA.
  User: tangjialin
  Date: 2016-05-31 0031
  Time: 18:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
	<title>Title</title>
	<script type="text/javascript" src="<%=request.getContextPath()%>/resources/1.11.3/jquery.min.js"></script>
</head>
<body>
Index.jsp

<a href="javascript:void(0)"><h1>插入新用户</h1></a>
</body>
<script>
	$(function () {
		$('h1').on('click', function (e) {
			$.post("insert", null, function (data, textStatus, jqXHR) {
				alert("成功插入数据:" + data.data)
			})
		});
	});
</script>
</html>
